package com.czxy.domain;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author zhangmengxiang1@itcast.cn
 * @version 1.0
 * @date 2020/2/6
 */
@Table(name = "guest_management")
@Data
public class Guest {
    @Id
    private Integer rid;
    private Integer uid;
    private String roomname;
    private String roomnumber;
    private Double roommoney;
    private Double shoumoney;
    private String floor;
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String starttime;
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endtime;
    private String roomimg;
    private Integer checkinnumber;
    private Integer state;

    private User user;
}
